﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace AppNet.Models
{
    public class AppNetDBContext : DbContext
    {

        public AppNetDBContext()
            : base("name=AppNetDBConection")
        {
        }
        
        public DbSet<CompanyInfor> CompanyInfors { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<SupportOnline> SupportOnlines { get; set; }
        public DbSet<ReceiEmail> ReceiEmails { get; set; }

        public DbSet<Category> Categories { get; set; }

        public DbSet<News> News { get; set; }

        public DbSet<Image> Images { get; set; }
        public DbSet<AlbumImg> AlbumImgs { get; set; }

        public DbSet<Video> Videos { get; set; }
        public DbSet<AlbumVideo> AlbumVideos { get; set; }

    }
}